const API = {
  getListPage: param => {
    return $http.post(`/apis/nacos_proxy/config/history/list`, param).then(response => response.data);
  },
  getNamespace: param => {
    return $http.post(`/apis/nacos_proxy/namespace/list`, param).then(response => response.data);
  },
  getDataList: param => {
    return $http.post(`/apis/nacos_proxy/config/history`, param).then(response => response.data);
  },
  getHistoryDetail: param => {
    return $http.post(`/apis/nacos_proxy/config/history/detail`, param).then(response => response.data);
  },
  configAdd: param => {
    return $http.post(`/apis/nacos_proxy/config/add`, param).then(response => response.data);
  }
};
export default API;
